package com.bj.zspace.cloud.order.controller;

import com.bj.zspace.cloud.order.properties.OrderProperties;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping(value = "/api/order")
@RestController
public class ConfigController {

    @Resource
    private OrderProperties orderProperties;
    @GetMapping(value = "/config")
    public String config() {
        return orderProperties.toString();
    }

}
